package com.lee.controller.system;

import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.lee.system.api.TestService;
import com.lee.system.entity.Test;

@RestController
@RequestMapping("/test")
public class Testcontroller {
	@Reference
	private TestService testService;
	@RequestMapping("/getests")
	public List<Test> geTests(){
		return testService.geTests();
	}
}
